﻿@{
    ViewBag.Title = "发布新目标";
    Layout = "~/Views/Shared/_LayoutDualColumns.cshtml";
}
@model Ducu.SRV.ViewModel.Plan.NewModel
@section PageHeader{
    <span class="glyphicon glyphicon-edit" aria-hidden="true"></span><span class="after-glyphicon">@ViewBag.Title</span>
}
@{string prev = Request.QueryString["prev"];}
@if (!string.IsNullOrEmpty(prev))
{
    @Html.Action("_PreviousCreated", Convert.ToInt32(prev))
}
@using (Html.BeginForm())
{
    @Html.EditorFor(m => m.PublishContent, "_NewOrEdit")
    @Html.Partial("_SubmitAndContinue", new ViewDataDictionary { { "Continue", true } })
}

@section RightPanel{
    @Html.Partial("Shared/_NewOrEditDescription")
}

@section scripts{
    <script>
        $('input[data-provide="datepicker"]').datepicker({
            language: "zh-CN",
            startDate: "@DateTime.Now"
        });
    </script>
}